package cn.shujuhai.workflow.domain;

import cn.shujuhai.common.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName flow_definition
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "flow_definition")
@Data
public class FlowDefinition extends BaseDomain {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private String flowKey;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private byte[] bpmnXml;

    /**
     *
     */
    private String category;


}